import {
	getAuthHeader,
	request
} from "../utils/request"

export const uploadFile = (path) => {
	return uni.uploadFile({
		url: 'http://localhost:8003/client-api/file/upload',
		filePath: path,
        name: 'file',
		header: getAuthHeader()
	});
}